package l1j.server.server.model.damage;

import l1j.server.server.model.Instance.L1NpcInstance;


public class L1DamageOnNpc {
	private L1NpcInstance _target;
	private L1Dmg _dmg;

	public L1DamageOnNpc(L1Dmg dmg, L1NpcInstance target) {
		_target = target;
		_dmg = dmg;
	}

	public void calcDamageOnNpc() {
		_dmg.sub(_target.getNpcTemplate().get_damagereduction());
	}
}
